package com.xzy.pojo;

import java.util.Date;

/**
 * Created by css on 2018/8/21.
 */
public class Message {
    private int id;
    private int type;
    private int dev_id;
    private String ds_id;
    private int at;
    private double value;
    private String imei;
    private String time;
    private int level;

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }



    public String getImei() {
        return imei;
    }

    public void setImei(String imei) {
        this.imei = imei;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getDev_id() {
        return dev_id;
    }

    public void setDev_id(int dev_id) {
        this.dev_id = dev_id;
    }

    public String getDs_id() {
        return ds_id;
    }

    public void setDs_id(String ds_id) {
        this.ds_id = ds_id;
    }

    public int getAt() {
        return at;
    }

    public void setAt(int at) {
        this.at = at;
    }

    public double getValue() {
        return value;
    }

    public void setValue(double value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return "Message{" +
                "id=" + id +
                ", type=" + type +
                ", dev_id=" + dev_id +
                ", ds_id='" + ds_id + '\'' +
                ", at=" + at +
                ", value=" + value +
                ", imei='" + imei + '\'' +
                ", time=" + time +
                ", level=" + level +
                '}';
    }
}
